package com.qf.proxy;

/**
 * 中介
 * @author lixu
 */
public class ProxyFangServiceImpl implements FangDongService{

    //房东
    private FangDongService fangDongService;

    public void setFangDongService(FangDongService fangDongService) {
        this.fangDongService = fangDongService;
    }

    //租房
    public void zufang() {
        System.out.println("打电话");
        System.out.println("看房");
        fangDongService.zufang();//核心
        System.out.println("维修");
        System.out.println("转租");
    }
}
